package com.jboa.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import com.jboa.dao.IDeptDAO;
import com.jboa.service.IDeptService;
import com.jboa.vo.SysDepartment;
@Service("deptService")
public class DeptServiceImpl implements IDeptService {
	@Autowired
	@Qualifier("deptDao")
	private IDeptDAO dao;
	/**
	 * 查询所有信息
	 */
	public List<SysDepartment> getAll() {
		return dao.getAll();
	}
	
}
